#ifndef MAINSCENE_H
#define MAINSCENE_H

#include <QMainWindow>
#include<QWidget>
//#include<QPainter>

namespace Ui {
class MainScene;
}

class MainScene : public QMainWindow
{
    Q_OBJECT

public:
     explicit MainScene(QWidget*parent =nullptr);
    ~MainScene();

//paintEvent事件画背景图
   void paintEvent(QPaintEvent* event);

private:
    Ui::MainScene *ui;
};

#endif // MAINSENCE_H
